package multipowny.ssrr;

import java.util.ArrayList;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;

public class StreetImageView extends ImageView	{
	
	private ArrayList <Player> players = new ArrayList<Player>();
	private MultipownyActivity main;
	
	public StreetImageView(Context context, AttributeSet attrs) {
		super(context, attrs);
		this.setOnClickListener(new clickListener());
	}
	
	public void setMain(MultipownyActivity newMain)	{
		main = newMain;
	}
	public void setAttributes()	{
	}
	
	private class clickListener implements OnClickListener	{
		
		public clickListener()	{
		}

		public void onClick(View v) {
			main.setTitel("test");
		}
	}
}